<?
$article = $this->article;
?>

<? if (!empty($article['img'])): ?>
<a href="<?= $article['img'] ?>"><img src="<?= $article['img'] ?>" alt="<?= $article['title'] ?>"/></a>
<? endif; ?>
<?= $this->form ?>